<!--<?php
print<<<EF
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="templates/msystem/ljy.css" rel="stylesheet" type="text/css" />
<link href="ljy.css" rel="stylesheet" type="text/css" />
</head>
<style type="text/css">
<!--
body,td{text-align:center;border:0;}
-->
</style>
<script type="text/javascript">
function checkverify()
{
	if(document.getElementById("select").value=="0")
	{
		alert("请选择客户所属类别");
	}else{
	document.form.submit();
	}
}
</script>
<base target="_self" />
<body style="text-align:left">
<div id="toppath">客户选择</div>

<table style="float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
  <tr bgcolor="#F0F0F0">
	<th width="25%" align="center" valign="middle">网视通客户</th>
	<th width="25%">&nbsp;</th>
	<th width="25%">&nbsp;</th>
	<th width="25%">&nbsp;</th>
  </tr>
  <tr>
	<td>电信</td>
	<td>网通</td>
	<td>长城宽带</td>
	<td>其他</td>
  </tr>
<!--
EF;
foreach($CreatHtml as $list)
{
print<<<EF
--> 
<tr>
    <td>{$list['Telecom']}</td>
	<td>{$list['Netcom']}</td>
	<td>{$list['Great Wall']}</td>
	<td>{$list['Other']}</td>
  </tr>
<!--
EF;
}
print<<<EF
-->
</table>
<form action="client.php" name="form" method="post" >
<input name="action" value="add" type="hidden"/>
<table style="float:left;" width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<th>添加新客户</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
<tr>
<td>客户名称：<input name="name" type="text" class="inputtext" value="请输入客户名称" size="20" onclick="this.value='';"/></td>
<td>后台地址：<input name="link" type="text" class="inputtext" size="20"/></td>
<td>客户所属类别:
		<select name="sort" id="select">
		<option value="0">请选择客户所属类别</option>
		<option value="Telecom">电信</option>
		<option value="Netcom">网通</option>
		<option value="Great Wall">长城宽带</option>
		<option value="Other">其他</option>
		</select>
</td>
</tr>
</table>
  <div id="pagediv" align="center">
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="button"  name="msubmit"  value="提 交" onclick="checkverify()"/>
   　 
   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
</div>
</form>
</body>
</html>
<!--
EF;
?>
-->